<html>
<head><meta charset="utf-8"><title>Meeting 2020-12-21 · project-error-handling · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/index.html">project-error-handling</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html">Meeting 2020-12-21</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="220617386"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617386" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617386">(Dec 21 2020 at 18:59)</a>:</h4>
<p>meeting in 1 minute</p>



<a name="220617415"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617415" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617415">(Dec 21 2020 at 18:59)</a>:</h4>
<p>holiday week so not a big deal if anyone isn't here</p>



<a name="220617568"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617568" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617568">(Dec 21 2020 at 19:00)</a>:</h4>
<p>and here is our current meeting agenda <a href="https://hackmd.io/@rust-libs/BJiildC2v">https://hackmd.io/@rust-libs/BJiildC2v</a></p>



<a name="220617600"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617600" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617600">(Dec 21 2020 at 19:00)</a>:</h4>
<p>let's start by seeing who is here</p>



<a name="220617677"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617677" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617677">(Dec 21 2020 at 19:01)</a>:</h4>
<p>I'm here</p>



<a name="220617759"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617759" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617759">(Dec 21 2020 at 19:02)</a>:</h4>
<p>hey charles :D</p>



<a name="220617796"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617796" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617796">(Dec 21 2020 at 19:02)</a>:</h4>
<p><span aria-label="tada" class="emoji emoji-1f389" role="img" title="tada">:tada:</span></p>



<a name="220617821"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617821" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617821">(Dec 21 2020 at 19:02)</a>:</h4>
<p>Merry Xmas</p>



<a name="220617830"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617830" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617830">(Dec 21 2020 at 19:02)</a>:</h4>
<p>hehe, tyty</p>



<a name="220617834"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617834" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617834">(Dec 21 2020 at 19:02)</a>:</h4>
<p>you too</p>



<a name="220617908"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617908" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617908">(Dec 21 2020 at 19:03)</a>:</h4>
<p>welp, seems like other people might be enjoying their holidays as they should, so lets make this a quick one and I'll hang out incase anyone shows up</p>



<a name="220617923"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220617923" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220617923">(Dec 21 2020 at 19:03)</a>:</h4>
<p>hows the assert change going <span class="user-mention" data-user-id="344328">@Charles Ellis O'Riley Jr.</span> ?</p>



<a name="220618334"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220618334" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220618334">(Dec 21 2020 at 19:06)</a>:</h4>
<p>Well, learning alot.  The major thing that I learned is I'm going to need to ask more questions.  My modus operandi is to try to figure something out on my own.  With this, that is not going to work.  Where I thought I needed to make a change, it wasn't the place.   My direct question to the group will be...where do I need to make the change.</p>



<a name="220618403"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220618403" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220618403">(Dec 21 2020 at 19:07)</a>:</h4>
<p>Without looking into the issue in more detail I'm unsure, but I can help you figure out what to do next</p>



<a name="220618416"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220618416" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220618416">(Dec 21 2020 at 19:07)</a>:</h4>
<p>can you remind me what you tried before and where you are right now?</p>



<a name="220618424"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220618424" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220618424">(Dec 21 2020 at 19:07)</a>:</h4>
<p>like, what are you stuck on</p>



<a name="220618446"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220618446" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220618446">(Dec 21 2020 at 19:07)</a>:</h4>
<p>One momnent</p>



<a name="220619003"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619003" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619003">(Dec 21 2020 at 19:12)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/blob/master/compiler/rustc_builtin_macros/src/assert.rs">https://github.com/rust-lang/rust/blob/master/compiler/rustc_builtin_macros/src/assert.rs</a>  This is where I thought I needed to make a change so I did some research on the AST.  I asked a question one day to confirm that was the spot and received an answer that it wasn't.  I think I need to know how to figure this out.....because I don't.</p>



<a name="220619249"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619249" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619249">(Dec 21 2020 at 19:15)</a>:</h4>
<p>do you have a link to where you asked for confirmation?</p>



<a name="220619294"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619294" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619294">(Dec 21 2020 at 19:15)</a>:</h4>
<p>Looking for it now</p>



<a name="220619409"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619409" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619409">(Dec 21 2020 at 19:16)</a>:</h4>
<p>Look under Nicer Assert Messages...toward the end</p>



<a name="220619483"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619483" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619483">(Dec 21 2020 at 19:17)</a>:</h4>
<p>Hello, I think nothing has progressed from me this week <span aria-label="octopus" class="emoji emoji-1f419" role="img" title="octopus">:octopus:</span></p>



<a name="220619574"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619574" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619574">(Dec 21 2020 at 19:18)</a>:</h4>
<p>Hi oliver.  Seasons greetings</p>



<a name="220619582"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619582" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619582">(Dec 21 2020 at 19:18)</a>:</h4>
<p><span class="user-mention silent" data-user-id="281739">oliver</span> <a href="#narrow/stream/257204-project-error-handling/topic/Meeting.202020-12-21/near/220619483">said</a>:</p>
<blockquote>
<p>Hello, I think nothing has progressed from me this week <span aria-label="octopus" class="emoji emoji-1f419" role="img" title="octopus">:octopus:</span></p>
</blockquote>
<p>no worries</p>



<a name="220619587"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619587" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619587">(Dec 21 2020 at 19:18)</a>:</h4>
<p>im in the same boat</p>



<a name="220619672"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619672" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619672">(Dec 21 2020 at 19:19)</a>:</h4>
<p><span class="user-mention silent" data-user-id="344328">Charles Ellis O'Riley Jr.</span> <a href="#narrow/stream/257204-project-error-handling/topic/Meeting.202020-12-21/near/220619003">said</a>:</p>
<blockquote>
<p><a href="https://github.com/rust-lang/rust/blob/master/compiler/rustc_builtin_macros/src/assert.rs">https://github.com/rust-lang/rust/blob/master/compiler/rustc_builtin_macros/src/assert.rs</a>  This is where I thought I needed to make a change so I did some research on the AST.  I asked a question one day to confirm that was the spot and received an answer that it wasn't.  I think I need to know how to figure this out.....because I don't.</p>
</blockquote>
<p>looking at the thread and <span class="user-mention" data-user-id="307537">@Camelid</span>'s response I'm guessing that you did find the correct place more or less</p>



<a name="220619923"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619923" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619923">(Dec 21 2020 at 19:22)</a>:</h4>
<p>ok.  My question then is exactly how do I trace the code?  I've been running x.py but <span class="user-mention" data-user-id="307537">@Camelid</span>  suggested something entirely different and I was unsure of how to run it in the system.</p>



<a name="220619956"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619956" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619956">(Dec 21 2020 at 19:22)</a>:</h4>
<p>what did they recommend?</p>



<a name="220619980"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220619980" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220619980">(Dec 21 2020 at 19:22)</a>:</h4>
<p>the direct <code>rustc</code> call?</p>



<a name="220620011"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620011" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620011">(Dec 21 2020 at 19:23)</a>:</h4>
<p>afaik they still meant for you to use <code>x.py</code> to compile the <code>rustc</code> binary that you use when expanding examples to test the code gen</p>



<a name="220620161"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620161" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620161">(Dec 21 2020 at 19:25)</a>:</h4>
<p>so my understanding of this change is that in that <code>expand_assert</code> fn you need to change how it creates the <code>panic_call</code> variable</p>



<a name="220620175"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620175" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620175">(Dec 21 2020 at 19:25)</a>:</h4>
<p>does that mean that I need to run  rustc +nightly -Z unpretty=expanded ?</p>



<a name="220620179"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620179" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620179">(Dec 21 2020 at 19:25)</a>:</h4>
<p>yea</p>



<a name="220620189"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620189" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620189">(Dec 21 2020 at 19:25)</a>:</h4>
<p>but you're going to twant to use whatever version you compiled</p>



<a name="220620304"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620304" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620304">(Dec 21 2020 at 19:26)</a>:</h4>
<p>I don't understand and don't want to pretend I do.</p>



<a name="220620311"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620311" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620311">(Dec 21 2020 at 19:26)</a>:</h4>
<p><a href="https://rust-lang.github.io/rustup/concepts/toolchains.html#custom-toolchains">https://rust-lang.github.io/rustup/concepts/toolchains.html#custom-toolchains</a></p>



<a name="220620316"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620316" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620316">(Dec 21 2020 at 19:26)</a>:</h4>
<p>its okay I will help explain</p>



<a name="220620343"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620343" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620343">(Dec 21 2020 at 19:26)</a>:</h4>
<p>this should show how to configure a project to use a custom compiled rustc</p>



<a name="220620358"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620358" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620358">(Dec 21 2020 at 19:26)</a>:</h4>
<p>so you'll go and create a project anywhere you want, just a <code>cargo new</code>, in a temp dir for example</p>



<a name="220620387"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620387" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620387">(Dec 21 2020 at 19:27)</a>:</h4>
<p>and that's where you put your test assert that you want to have expand into something nicer</p>



<a name="220620394"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620394" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620394">(Dec 21 2020 at 19:27)</a>:</h4>
<p>then you configure that project to use your custom toolchain via rustup</p>



<a name="220620417"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620417" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620417">(Dec 21 2020 at 19:27)</a>:</h4>
<p>then you can go to the rustc repo and edit the compiler then recompile, and the project you made should always use your current version of the compiler</p>



<a name="220620482"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620482" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620482">(Dec 21 2020 at 19:28)</a>:</h4>
<p>there are probably nicer ways to do this via rustc test infrastructure but I'm not familiar enough with it to know where to find that info</p>



<a name="220620497"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620497" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620497">(Dec 21 2020 at 19:28)</a>:</h4>
<p>_I should really read the rustc dev guide someday_</p>



<a name="220620635"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620635" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620635">(Dec 21 2020 at 19:29)</a>:</h4>
<p>I should also do more reading but when I do, especially with this, I have more questions.</p>



<a name="220620793"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620793" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620793">(Dec 21 2020 at 19:31)</a>:</h4>
<p>sounds good</p>



<a name="220620802"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620802" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620802">(Dec 21 2020 at 19:31)</a>:</h4>
<p>please dont hesitate to ask questions</p>



<a name="220620846"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620846" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620846">(Dec 21 2020 at 19:31)</a>:</h4>
<p><span class="user-mention" data-user-id="344328">@Charles Ellis O'Riley Jr.</span> and <span class="user-mention" data-user-id="281739">@oliver</span></p>



<a name="220620878"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620878" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620878">(Dec 21 2020 at 19:31)</a>:</h4>
<p>one thing I want to mention tho I'll probably bring it up again next meeting when we have more people</p>



<a name="220620958"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220620958" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220620958">(Dec 21 2020 at 19:32)</a>:</h4>
<p>I'm planning on getting all the people who have been contributing consistently added to the list of members for the project group</p>



<a name="220621014"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220621014" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220621014">(Dec 21 2020 at 19:32)</a>:</h4>
<p>Trust me.  2021 will bring about many more questions...sometimes redundant.  Thanks Jane, I'm going to look again at what you proposed and also read that doc.</p>



<a name="220621121"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220621121" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220621121">(Dec 21 2020 at 19:33)</a>:</h4>
<p>also I think im going to leave the meeting agenda as is and not commit this agenda to the repo since it was such a short meeting</p>



<a name="220621216"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220621216" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220621216">(Dec 21 2020 at 19:34)</a>:</h4>
<p>sounds great and the next meeting will be Jan 4th</p>



<a name="220621248"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220621248" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220621248">(Dec 21 2020 at 19:34)</a>:</h4>
<p>Agree.  Mary Christmas to you Jane and party hardy in a safe way :)</p>



<a name="220630343"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220630343" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220630343">(Dec 21 2020 at 21:04)</a>:</h4>
<p><span class="user-mention" data-user-id="344328">@Charles Ellis O'Riley Jr.</span> In terms of creating a custom toolchain (so you can do <code>rustc +stage1 ...</code> where stage1 is a local build), all it is is this:</p>
<div class="codehilite" data-code-language="Bash"><pre><span></span><code><span class="c1"># cd into your clone of the repo</span>
$ <span class="nb">cd</span> rust
<span class="c1"># Make sure you have built the compiler</span>
$ ./x.py build
<span class="c1"># Link the toolchain</span>
$ rustup toolchain link stage1 build/&lt;your-target-triple&gt;/stage1
</code></pre></div>
<p><code>&lt;your-target-triple&gt;</code> is whatever the 'host' line of <code>rustc -Vv</code> shows:</p>
<div class="codehilite"><pre><span></span><code>rustc 1.48.0 (7eac88abb 2020-11-16)
binary: rustc
commit-hash: 7eac88abb2e57e752f3302f02be5f3ce3d7adfb4
commit-date: 2020-11-16
host: x86_64-apple-darwin          &lt;--- this is it
release: 1.48.0
LLVM version: 11.0
</code></pre></div>
<p>The rustc-dev-guide has lots of information about this and more; I recommend reading <a href="https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#creating-a-rustup-toolchain">https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#creating-a-rustup-toolchain</a>.</p>



<a name="220630980"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220630980" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220630980">(Dec 21 2020 at 21:11)</a>:</h4>
<p><span class="user-mention" data-user-id="307537">@Camelid</span>  Thanks..  Is this something I should be doing in addition to rustic +nightly -Z I pretty=expand arc/main.rs    which is what I am doing now?</p>



<a name="220631531"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220631531" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220631531">(Dec 21 2020 at 21:17)</a>:</h4>
<p>I already have my toolchain.  Nightly &amp; stable.  I've done all the steps you just outlined.  I need to understandhow and where to insert a change.  I'm trying to find where assert! is constructed.</p>



<a name="220631562"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220631562" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220631562">(Dec 21 2020 at 21:17)</a>:</h4>
<p><span class="user-mention silent" data-user-id="344328">Charles Ellis O'Riley Jr.</span> <a href="#narrow/stream/257204-project-error-handling/topic/Meeting.202020-12-21/near/220631531">said</a>:</p>
<blockquote>
<p>I already have my toolchain.  Nightly &amp; stable.  I've done all the steps you just outlined.  I need to understandhow and where to insert a change.  I'm trying to find where assert! is constructed.</p>
</blockquote>
<p>nightly and stable don't have your changes though</p>



<a name="220631573"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220631573" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220631573">(Dec 21 2020 at 21:17)</a>:</h4>
<p>the steps <span class="user-mention silent" data-user-id="307537">Camelid</span> gave were to get a toolchain with your changes</p>



<a name="220631623"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220631623" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220631623">(Dec 21 2020 at 21:18)</a>:</h4>
<p>if you're just gathering info for now then you don't need to worry about it, but eventually you'll need to test your changes with stage 1</p>



<a name="220631696"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220631696" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220631696">(Dec 21 2020 at 21:19)</a>:</h4>
<p>I see.  Thanks.  BTW, is assert constructed somewhere and if so, where?</p>



<a name="220631791"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220631791" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220631791">(Dec 21 2020 at 21:20)</a>:</h4>
<p>I think <a href="http://assert.rs">assert.rs</a> is the right place</p>



<a name="220632080"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220632080" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220632080">(Dec 21 2020 at 21:23)</a>:</h4>
<p>That's where I got confused because according to @Camelid, I needed to run rustic +nightly -Z I pretty=expand ?  Perhaps I should just read the doc.  I'm currently running rustic +nightly -Z I pretty=expand</p>



<a name="220632237"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220632237" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220632237">(Dec 21 2020 at 21:24)</a>:</h4>
<p><span class="user-mention silent" data-user-id="344328">Charles Ellis O'Riley Jr.</span> <a href="#narrow/stream/257204-project-error-handling/topic/Meeting.202020-12-21/near/220632080">said</a>:</p>
<blockquote>
<p>That's where I got confused because according to @Camelid, I needed to run rustic +nightly -Z I pretty=expand ?  Perhaps I should just read the doc.  I'm currently running rustic +nightly -Z I pretty=expand</p>
</blockquote>
<p>that shows you what the macro expands <em>to</em></p>



<a name="220632257"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220632257" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220632257">(Dec 21 2020 at 21:24)</a>:</h4>
<p>not <em>where in the compiler</em> it was expanded</p>



<a name="220632423"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220632423" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220632423">(Dec 21 2020 at 21:26)</a>:</h4>
<p>so, I'll have to make a change within assert.rc which is written in that AST language?</p>



<a name="220632622"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220632622" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220632622">(Dec 21 2020 at 21:28)</a>:</h4>
<p><a href="http://assert.rs">assert.rs</a> is <em>generating</em> that AST language</p>



<a name="220632654"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220632654" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220632654">(Dec 21 2020 at 21:28)</a>:</h4>
<p>it's mostly the same as a normal proc-macro works</p>



<a name="220632659"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220632659" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220632659">(Dec 21 2020 at 21:28)</a>:</h4>
<p>but in the compiler itself</p>



<a name="220633014"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220633014" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220633014">(Dec 21 2020 at 21:32)</a>:</h4>
<p><code>assert!</code> is expanded in <code>compiler/rustc_builtin_macros/.../assert.rs</code> (I forget the exact path). 'Expanding' just means that an AST node representing an invocation of <code>assert!</code> is turned into a different AST node.</p>



<a name="220633119"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220633119" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220633119">(Dec 21 2020 at 21:33)</a>:</h4>
<p><code>rustc +nightly -Z unpretty=expand</code> will show you a pretty-printed version of the AST node that <code>assert!</code> was replaced with.</p>



<a name="220633229"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220633229" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220633229">(Dec 21 2020 at 21:34)</a>:</h4>
<p>This chapter in the rustc dev guide may be helpful: <a href="https://rustc-dev-guide.rust-lang.org/macro-expansion.html">https://rustc-dev-guide.rust-lang.org/macro-expansion.html</a></p>



<a name="220633282"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220633282" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220633282">(Dec 21 2020 at 21:35)</a>:</h4>
<p>So my change will go into the AST node representing an invocation ofg assert?</p>



<a name="220633316"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220633316" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220633316">(Dec 21 2020 at 21:35)</a>:</h4>
<p><span class="user-mention" data-user-id="307537">@Camelid</span> Thanks.</p>



<a name="220634103"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220634103" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220634103">(Dec 21 2020 at 21:43)</a>:</h4>
<p>I don't know what your change is, so I can't help you with that.</p>



<a name="220634203"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Meeting%202020-12-21/near/220634203" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Meeting.202020-12-21.html#220634203">(Dec 21 2020 at 21:44)</a>:</h4>
<p>Add assert_eq functionality to assert</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>